import { createPinia } from 'pinia'
// 引入持久化插件
import persist from 'pinia-plugin-persistedstate'
const pinia = createPinia()
pinia.use(persist)

export default pinia

import { useCounterStore } from './module/count.js'

export { useCounterStore }

import { useUserStore } from './module/user.js'
export { useUserStore }


import { useConsultStore } from './module/consult.js'
export { useConsultStore }